<%@ page contentType="text/html; charset=utf-8"%>
<script type="text/javascript"> 
	function click_a(divDisplay)
        {
            if(document.getElementById(divDisplay).style.display != "block")
            {
                document.getElementById(divDisplay).style.display = "block";
            }
            else
            {
                document.getElementById(divDisplay).style.display = "none";
            }
        }
    function callTel(){
       var telphone = "<s:property value="#session.watchBindingRelationship.watchPhone"  />";
       telphone = telphone.trim();
       if (telphone.length == 0){
         alert("请设置宝贝手机号码");
         window.location.href="WeiXinApp!ucenterView.action";
         return;
       }
       window.location.href="tel:<s:property value="#session.watchBindingRelationship.watchPhone"  />";
    }
</script>
<div class="opennav" id="opennav">
	<a class=""
		onClick="javascript:window.location.href='WeiXinApp!firstLogin.action'">首页</a>
	<a class=""
		onClick="javascript:window.location.href='WeiXinApp!ucenterView.action'">用户中心</a>
	<a class=""
		onClick="javascript:window.location.href='WeiXinApp!indexSide.action'">系统设置</a>
	<a class=""
		onClick="javascript:window.location.href='WeiXinApp!quitAPP.action'">退出</a>
</div>

<footer class="mui-bar mui-bar-footer">
	<a class="ico-yudo mui-pull-left" href="WeiXinApp!positionView.action">实时定位</a>
	<!--当前选中状态为 ico-yudohov -->
	<a class="ico-yudo mui-pull-left" onClick="return callTel()">一键通话</a> 
	<a class="ico-yudo mui-pull-left" href="WeiXinApp!chatView.action?phone=">互动聊天</a>
	<a class="ico-yudo mui-pull-left" onclick="return click_a('opennav')">更多服务</a>
</footer>